import PageImpl from "$UI/wxsys/lib/base/pageImpl";var app = getApp();export default class IndexPage extends PageImpl {constructor(...args){super(...args);}

	
  button1TapCallback(event){
        let regeneratorRuntime = require('$UI/wxsys/comps/code/generator/runtime-module');
        "use strict";

        //当前函数的代码为自动生成,请勿手动修改!!!

        function code(event) {
            if (!(event.context.listitem.fdingdanzt == "待确认")) {
                if (!(event.context.listitem.fdingdanzt == "完成")) {
                    return;
                } else {
                    this.comp('serviceRequest4').send({
                        "orderID": event.context.listitem.fid
                    });
                    this.comp('tableData').fieldsValue(undefined, {
                        "fid": event.context.listitem.fid
                    });
                    return;
                }
            } else if (event.context.listitem.fdingdanzt == "待确认") {
                this.comp('serviceRequest').send({
                    "orderID": event.context.listitem.fid
                });
                return;
            }
        }
        return code.apply(this, arguments);
    }





	}